Correctly copy config