0
/ 50
Write a method that will make a copy of an array. The method takes one parameter, orig
. The method should make a new array the same size...
Write a method that will make a copy of an array.
The method takes one parameter, orig
. The method
should make a new array the same size as the original
one, orig
, and you must copy the elements.
Examples:
makeCopy({1, 10, 100, 1000}) -> {1, 10, 100, 1000}
Your feedback will appear here when you check your answer.