private static void copyProperties(final Iterable<BuildFileProperty> from, final List<? super BuildFileProperty> to) {
    to.clear();
    for (BuildFileProperty p : from) {
      to.add(p.clone());
    }
  }
private static void copyProperties(final Iterable<BuildFileProperty> from, final List<? super BuildFileProperty> to)