in tomee-patch-core/src/main/java/org/apache/tomee/patch/core/Copy.java [32:36]
public <Value> Copy<T> att(final Function<T, Value> getter, final BiConsumer<T, Value> setter) {
final Value value = getter.apply(from);
if (value != null) setter.accept(to, value);
return this;
}