import shutil


def move(source, destination):
    """
    moves a file or directory from source to destination.

    it returns the new destination path, it may be different from input destination.

    :param str source: source file or directory.
    :param str destination: destination file or directory.

    :rtype: str
    """

    result_path = shutil.move(source, destination)
    if result_path is None:
        result_path = destination

    return result_path