function concat(aaa, bbb) {
  const chunk = 10000
  for (let i = 0; i < bbb.length; i += chunk) {
    aaa.push(...bbb.slice(i, i + chunk))
  }
}
Concatenate two arrays fast.

@param {any[]} aaa first array
@param {DecodedArray} bbb second array