int array_1[][] = new int[8][8];
int array_2[][] = new int[8][8];
// populate both arrays with random data
array_1 = array_2;
int array_1[][] = new int[8][8];
int array_2[][] = new int[8][8];
// populate both arrays with random data
for (int y=0; y<8; y++)
{
for (int x=0; x<8; x++)
{
array_1[y][x] = array_2[y][x];
}
}