def copy_file(source, destination): try: # Use shutil.copy2 to copy the file along with its metadata shutil.copy2(source, destination) print(f"File {source} copied to ...