code: public void copyFrom(PolicyInfo other) throws IOException {
      if (other.conf != null) {
        this.conf = other.conf;
      }
      if (other.description != null && other.description.length() > 0) {
        this.description = other.description;
      }
      if (other.srcPath != null) {
        this.srcPath = other.srcPath;
      }
      for (Object key : other.properties.keySet()) {
        String skey = (String) key;
        this.properties.setProperty(skey, other.properties.getProperty(skey));
      }
      
      if (other.destPath != null) {
        for (PathInfo p:destPath) {
          this.addDestPath(p.rpath.toString(), p.myproperties);
        }
      }
    }
docs: Copy fields from another PolicyInfo