The single loop copied a full row at each time around the loop.
A two dim array is made up of a bunch of one dim arrays. For example:
<type>[][] twoDim = new <type>[10][5];
Then
twoDim[0] is a...