Here you can find the source of arrayCopy(int[][] source, int[][] destination)
public static void arrayCopy(int[][] source, int[][] destination)
//package com.java2s; /*//from w ww.j av a2s. com Copyright (c) 2012 Richard Martin. All rights reserved. Licensed under the terms of the BSD License, see LICENSE.txt */ public class Main { public static void arrayCopy(int[][] source, int[][] destination) { for (int a = 0; a < source.length; a++) { System.arraycopy(source[a], 0, destination[a], 0, source[a].length); } } }