def copy_fs_node(src, dst):
    basename = os.path.basename(src)
    dst = os.path.join(dst, basename)
    if os.path.isfile(src):
        shutil.copy(src, dst)
    elif os.path.isdir(src):
        shutil.copytree(src, dst)
    else:
        raise ValueError("Don't know how to copy file system node: %s" % src)
dataset/ETHPy150Open adieu/django-mediagenerator/mediagenerator/management/commands/importsassframeworks.py/copy_fs_node/original