Java Array Copy arrayCopy(int[][] source, int[][] destination)

Here you can find the source of arrayCopy(int[][] source, int[][] destination)

Description

array Copy

License

Open Source License

Declaration

public static void arrayCopy(int[][] source, int[][] destination) 

Method Source Code

//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);
        }
    }
}

Related

  1. arrayCopy(final byte[] src, final byte[] dest)
  2. arrayCopy(final float[] arrayToCopy)
  3. arrayCopy(int[] array, int i0, int n, boolean isReverse)
  4. arrayCopy(int[] array, int length)
  5. arrayCopy(int[] x)
  6. arraycopy(long src[], int srcOffset, long dest[], int destOffset, int limit)
  7. arraycopy(long[] src, int srcPos, long[] dest, int destPos, int length)
  8. arraycopy(Object dest, Object src1, int length1, Object src2, int length2)
  9. arrayCopy(Object src, int srcPos, Object dest, int destPos, int length)