The question makes little sense because it is based on not understanding one of the most fundamental concept,
reference types. Assignment copies references, not objects themselves. You don't "overwrite" anything, you just copy reference to the same object and then modify the same object.
What you want is called
cloning. Please see, for example,
https://msdn.microsoft.com/en-us/library/system.drawing.image.clone%28v=vs.110%29.aspx[
^].
However, understanding the problem is much more important than the solution, including this trivial solution. First of all, you should understand clearly what happens in your example. Be careful: you cannot really successfully do any programming before you perfectly understand reference and value types, and probably a lot more.
—SA