copy method

Color copy(
  1. Color color
)

Implementation

Color copy(Color color) {
  r = color.r;
  g = color.g;
  b = color.b;

  return this;
}