copying an integer
<p>This makes me fee like a knucklehead but how do I say </p>

<pre><code>previousError = currentError;
</code></pre>

<p>I mean that doesn't work of course, If I change current error then previous error is changed - there has to be an easy way to do this... I have an extension method that creates a deep clone of objects that I use at work all of the time but I would think for integers it should be easier than serializing and deserializing them? </p>

<p>Ahh... Thanks</p>
