import shutil def detect(input, output): shutil.copy2(input, output)