code: def move_file(
      src_fs,  # type: Union[Text, FS]
      src_path,  # type: Text
      dst_fs,  # type: Union[Text, FS]
      dst_path,  # type: Text
  ):
      # type: (...) -> None
      
      with manage_fs(src_fs) as _src_fs:
          with manage_fs(dst_fs, create=True) as _dst_fs:
              if _src_fs is _dst_fs:
                  # Same filesystem, may be optimized
                  _src_fs.move(src_path, dst_path, overwrite=True)
              else:
                  # Standard copy and delete
                  with _src_fs.lock(), _dst_fs.lock():
                      copy_file(_src_fs, src_path, _dst_fs, dst_path)
                      _src_fs.remove(src_path)
docs: Move a file from one filesystem to another.
  
      Arguments:
          src_fs (FS or str): Source filesystem (instance or URL).
          src_path (str): Path to a file on ``src_fs``.
          dst_fs (FS or str); Destination filesystem (instance or URL).
          dst_path (str): Path to a file on ``dst_fs``.