What is the difference between this function and move()?

The code appears to be nearly identical.