Destination array was not long enough
<p>I have a List which is copied from another List, which throws an exception of "System.ArgumentException: Destination array was not long enough. Check destIndex and length, and the array's lower bounds".</p>

<p>The exception thrown code is below,</p>

<pre><code>List&lt;myClass&gt; tempCopy= new List&lt;myClass&gt;(tempList);
</code></pre>

<p>I have populated the tempList in a BackGround worker.</p>

<p>The reported issue occurs randomly, and doesnt happen all the time.</p>

<p>Could anyone please share me why this exception is thrown at random time?</p>

<p>Thanks and Regards,</p>

<p>Amal Raj.</p>