import shutil shutil.copy("../src/main.cpp", "src/main.cpp")