static arraycopy(src, srcPos, dest, destPos, length) {
        // TODO: better use split or set?
        while (length--) {
            dest[destPos++] = src[srcPos++];
        }
    }
/**
     * Makes a copy of a array.
     */
Makes a copy of a array.
Makes a copy of a array .
static arraycopy(src, srcPos, dest, destPos, length) {
        while (length--) {
            dest[destPos++] = src[srcPos++];
        }
    }
static arraycopy ( src , srcPos , dest , destPos , length ) { while ( length -- ) { dest [ destPos ++ ] = src [ srcPos ++ ] ; } }
Makes a copy of a array.
Makes a copy of a array .
// TODO: better use split or set?