code: public void copyRenderTo(final Options from, final Options to) {
          if (to.getChartOptions() == null) {
              to.setChartOptions(new ChartOptions());
          }
          to.getChartOptions().setRenderTo(from.getChartOptions().getRenderTo());
      }
docs: Copies the renderTo configuration from one {@link Options} object to
  another. Null-safe.
  
  @param from Object to copy from
  @param to Object to copy to