Copy object.