The method MoveToObject("object") is just a shortcut to MoveTo(object.X, object.Y). They'll behave exactly the same way. That's what dop2000 meant.
Okay they meant move to position. That's only as redundant as 'set position' is to 'set position to object', but both have their uses!