Java Array Copy copyArray(int[] inArr, int[] outArr)

Here you can find the source of copyArray(int[] inArr, int[] outArr)

Description

copy Array

License

Open Source License

Declaration

public static void copyArray(int[] inArr, int[] outArr) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static void copyArray(int[] inArr, int[] outArr) {
        for (int i = 0; i < inArr.length; i++) {
            outArr[i] = inArr[i];/*from  ww  w  .j  a  v a  2 s .  com*/
        }
    }
}

Related

  1. copyArray(double[] a)
  2. copyArray(double[] array)
  3. copyArray(double[] src, double[] dest, int len)
  4. copyArray(double[][] d)
  5. copyArray(int[] ar)
  6. copyArray(int[][] arr)
  7. copyArray(int[][] links, int rowNum, int columnNum)
  8. copyArray(int[][] src)
  9. copyArray(int[][][] data)