move all zeros in an array to the end