def cp(src, dst):

    # First test for existance of destination directory
    mkdir(os.path.dirname(dst))

    return shutil.copy2(src, dst)
Copies a file
dataset/ETHPy150Open zynga/jasy/jasy/core/File.py/cp