title: Copy contents of one List into another List (not reference)
body: <p>I have two List :</p>
  
  <pre><code>List&lt;Object&gt; listA = new ArrayList&lt;Object&gt;();
  List&lt;Object&gt; newListB = new ArrayList&lt;Object&gt;();
  </code></pre>
  
  <p>How can i copy the contents of listA into newListB such as if i change one of the elements in my copied list, i dont want to change it in my original list.</p>