title: Copying sets Java
body: <p>Is there a way to copy a <code>TreeSet</code>? That is, is it possible to go</p>
  
  <pre><code>Set &lt;Item&gt; itemList;
  Set &lt;Item&gt; tempList;
  
  tempList = itemList;
  </code></pre>
  
  <p>or do you have to physically iterate through the sets and copy them one by one?</p>