X907: makeCopy

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 copy the elements.

You may assume that orig is never null. You must use a loop to copy the values from orig to the copy of the array.

Your Answer:

Feedback

Your feedback will appear here when you check your answer.