Improved replace-feature of copy repo to control that group replacements exists and centralizes that feature