import os


def finish(tmp_path, target):
    os.replace(tmp_path, target)
