creating new array from old array without impacting old array

Solutions on MaxInterview for creating new array from old array without impacting old array by the best coders in the world