ファイルのコピー

ファイルをコピーするのに、shutilモジュールを使う。

import shutil

shutil.copyfile(file1, file2)

これは特に問題なさそう。