src/primitives.js
function copyElements(src, dst, dstNdx, offset) {
  offset = offset || 0;
  const length = src.length;
  for (let ii = 0; ii < length; ++ii) {
    dst[dstNdx + ii] = src[ii] + offset;
  }
}
function copyElements(src, dst, dstNdx, offset) {
  offset = offset || 0;
  const length = src.length;
  for (let ii = 0; ii < length; ++ii) {
    dst[dstNdx + ii] = src[ii] + offset;
  }
}
function copyElements ( src , dst , dstNdx , offset ) { offset = offset || 0 ; const length = src . length ; for ( let ii = 0 ; ii < length ; ++ ii ) { dst [ dstNdx + ii ] = src [ ii ] + offset ; } }
Copy elements from one array to another

@param {Array|TypedArray} src source array
@param {Array|TypedArray} dst dest array
@param {number} dstNdx index in dest to copy src
@param {number} [offset] offset to add to copied values
@private
Copy elements from one array to another