code: @Override
    public void duplicate(String fromNamespace, String fromName, String toNamespace, String toName, boolean doOverwrite)
        throws DDFException {
  
      IPersistible from = this.load(fromNamespace, fromName);
      if (from instanceof DDF) {
        DDF to = (DDF) from;
        // to.setNamespace(toNamespace);
        to.getManager().setDDFName(to, toName);
        to.persist();
  
      } else {
        throw new DDFException("Can only duplicate DDFs");
      }
    }
docs: /*
  (non-Javadoc)
  
  @see io.ddf.content.IHandlePersistence#copy(java.lang.String, java.lang.String, java.lang.String,
  java.lang.String, boolean)