Here you can find the source of cloneTest(int[] test)
public static int[] cloneTest(int[] test)
//package com.java2s; //License from project: Apache License public class Main { public static int[] cloneTest(int[] test) { int[] rval = new int[test.length]; for (int i = 0; i < test.length; i++) { rval[i] = test[i];//from ww w . j a v a2 s . c om } return rval; } }