Given an array of integers nums, move all zeros to the end of the array while maintaining the relative order of non-zero elements. Modify the array in place, and do not return anything. The order of non-zero elements must remain unchanged.
Example 1:
Input: nums = [0, 1, 0, 3, 12]
Output: [1, 3, 12, 0, 0]
Example 2:
Input: nums = [0]
Output: [0]
1 <= nums.length <= 10^4-10^9 <= nums[i] <= 10^9