I\'m a little bit confused about why the function below works. I\'m trying to shift any array over by n times. I do this by creating a new array with the same length of the orig