I wouldn't be posting here if I hadn't already looked at it. I don't understand how the parameters work for it. for ex: system.arraycop y(the source array, the index you want to start copying from, the destination array, ?, ?) along with those 2 question marks, where do you make the destination array?
Which docs did you check?
Quote = docs
arraycopy (Object src, int srcPos, Object dest, int destPos, int length)
Copies an array from the specified source array, beginning at the specified position, to the specified position of the destination array.
I wouldn't be posting here if I hadn't already looked at it. I don't understand how the parameters work for it. for ex:
system.arraycop y(the source array, the index you want to start copying from, the destination array, ?, ?)
along with those 2 question marks, where do you make the destination array?
What's the problem then? That method copies data from one array (the source)
to another array (the destination). The method wants to know the start offset
in both arrays as well as the number of elements to copy and there it goes.
Comment