Here you can find the source of copyArray(int[] inArr, int[] outArr)
public static void copyArray(int[] inArr, int[] outArr)
//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*/ } } }