Fix copy flags.