CopyFile Pyhon
from shutil import copyfile
copyfile(src, dst)
Better Bug
from shutil import copyfile
copyfile(src, dst)
# Source path
source = "/home/User/Documents/file.txt"
# Destination path
destination = "/home/User/Documents/file(copy).txt"
# Copy the content of
# source to destination
dest = shutil.copyfile(source, destination)