def METHOD_NAME(self, src_gc, mask, onerror = None):
    request.CopyGC(display = self.display,
                   onerror = onerror,
                   src_gc = src_gc,
                   dst_gc = self.id,
                   mask = mask)