Add a copy() method to the Color class.