title: Copy one object to another
body: <p>I have 2 tables, user and userprofile. The userprofile table has a lot of fields similar to the user table. What I need to do is, on click of a button I need to copy all the fields of user table to userprofile table.</p>
  
  <pre><code>How can I do that?
  </code></pre>