new code to `cp` config files