Deep-copies the settings of new_connection and replaces the settings of this with the copied settings.
new_connection
a Connection
a Connection to replace the settings of this with