Implementation of the move operation.