Copy database config file