monkey:monkey.types.Array<T>.CopyTo

Method CopyTo:Void( dstArray:T[],srcOffset:Int,dstOffset:Int,count:Int )

Copies a range of elements from this array to another.

In debug mode, a runtime error will occur if the copy is outside the range of the array.

Parameters
dstArray dstArray destination of the copy.
srcOffset srcOffset First element to copy from this array.
dstOffset dstOffset First element to copy to in destination array.
count count Number of elements to copy.