@Override
    public TemplateResource copyOf(TemplateResource templateResource) {
      TemplateResource result = new TemplateResource();
      result.setFileName(templateResource.getFileName());
      result.setTemplate(templateResource.getTemplate());
      return result;
    }
@Override
    public TemplateResource copyOf(TemplateResource templateResource)