Given a list of integers, write a function to move all zeros to the end of the list while maintaining the relative order of the non-zero elements.
[0, 1, 0, 3, 12]
[1, 3, 12, 0, 0]
Bot