code: public static TextContainer copy(TextContainer src, TextContainer dest) {
          dest.setBackGround(src.getBackGround());
  
          dest.setBackgroundColor(src.getBackgroundColor());
  
          dest.setGravity(src.getGravity());
  
          dest.setRefreshFrequency(src.getRefreshFrequency());
  
          dest.setText(src.getText());
  
          dest.setTextSize(src.getTextSize());
  
          dest.setTextColor(src.getTextColor());
  
          dest.setTypeface(src.getTypeface());
  
          return dest;
      }
docs: Copy text settings from one TextContainer to another one
  @param src TextContainer the text settings are copied from
  @param dest TextContainer the text settings are copied to
  @return updated TextContainer