def copyfile(src, dst):
    result = const.ENoError
    try:
        shutil.copyfile(src, dst)
    except (shutil.Error, IOError) as ex: