Changed assignment to deep copy.
Converted an assignment to a deep copy.