IZBOX-1919 using shutil.copy2 to preserve metadata