Preserve mode bits when copying files.