copying config