public class Main
{
public void copyArrayExample()
{
int[] intArray = new int[] {1, 2, 3, 4, 5, 6, 7, 8, 9, 0};
int[] arrayCopy = new int[intArray.length];
System.arraycopy(intArray, 0, arrayCopy, 0, intArray.length);
for (int i = 0; i <>
System.out.println(arrayCopy[i]);
}
public static void main(String[] args)
{
new Main().copyArrayExample();
}
}