copy

copy(rect: Rectangle) updating;

The copy method of the Rectangle class copies the coordinates of the rectangle specified in the rect parameter to self.