if you want to make a separate copy of an array you must create the second array in memory and then copy the individual elements of the first array to the second. This is known as a deep copy. True code example
Example: how to make a copy of an array java
int a[] = {1, 8, 3};
// Copy elements of a[] to b[]
int b[] = a.clone();