code: public void copyValues(Box src)
      {
          rootelem = src.rootelem;
          isblock = src.isblock;
          order = src.order;
          isempty = src.isempty;
          sticky = src.sticky;
          availwidth = src.availwidth;
          viewport = src.viewport;
          parent = src.parent;
          cbox = src.cbox;
          clipblock = src.clipblock;
  
          bounds = new Rectangle(src.bounds);
          absbounds = new Rectangle(src.absbounds);
          displayed = src.displayed;
          visible = src.visible;
          splitted = src.splitted;
          rest = src.rest;
      }
docs: Copy all the values from another box
  @param src source box