copy data passed to config