I'm trying to convert some C# code to Java and I came across a line that calls this method:
Array.Copy(
frames[row],
0,
concatenated,
row*frames[row].Length,
frames[row].Length);
The signature of the C# method looks like this:
Array.Copy(
Array sourceArray,
int sourceIndex,
Array destinationArray,
int destinationIndex,
int length)
I'm trying to find way to do the same in Java with no luck. How can I mimic the same behavior in Java?
for(i=sourceIndex; i<dest+len;i++)...loop or trying to find some optimized code?