Problem with copying an array to another and not modifying the original array

copy array to another array javascript
array copy java
javascript copy array of objects
javascript copy array of objects without reference
javascript duplicate array elements
java copy 2d array
java array deep copy
copy array python