array_copy
array_copy(source, source_position, destination, destination_position, length)
Copy data from one array to another Follows Java System.arraycopy interface
Kind: global function
Param | Type | Description |
---|---|---|
source | Array.<T> | ArrayLike.<T> | TypedArray | Uint8ClampedArray | Uint8Array | Uint32Array | Int32Array | Float32Array | Float64Array | The source array |
source_position | number | Starting position where to copy from inside the source array |
destination | Array.<T> | ArrayLike.<T> | TypedArray | Uint8ClampedArray | Uint8Array | Uint32Array | Int32Array | Float32Array | Float64Array | The destination array |
destination_position | number | Starting position where to copy to inside the destination array |
length | number | How many elements should be copied |