#3 Add a parameter to return a copy of the given array.