Move all zeros in an array to the end while preserving the order of other elements. Return a new array; do not mutate the input.
Click Run to test your code