add overwrite flag to copies