Given an array of integers, write a function to move all zeros to the end of the array without changing the relative order of the non-zero elements.