You could try
newArray = oldArray.clone(); but that gives you a shallow clone so for an array of arrays you would have to clone each member array too. That will not be completely reliable if the array contains mutable reference types.
There is probably some λ which will do that in Java8 but I don't know enough about it. The
Arrays class has some copy methods but I am not sure they will help you. I suspect
this will be no better.