'Moves the source file into the destination.
Arguments have exactly same semantics as with `Copy File` keyword.
Destination file path is returned since Robot Framework 2.9.2.
If the source and destination are on the same filesystem, rename
operation is used. Otherwise file is copied to the destination
filesystem and then removed from the original filesystem.
See also `Move Files`, `Copy File`, and `Copy Files`.'

def move_file(self, source, destination):

    (source, destination) = self._prepare_copy_and_move_file(source, destination)
    if (not self._are_source_and_destination_same_file(destination, source)):
        shutil.move(source, destination)
        self._link("Moved    file    from    '%s'    to    '%s'.", source, destination)
    return destination
