: public <T extends Object> T copyValues(Class<T> type, T source, T result)         throws IllegalAccessException {     getListOfFields(type).forEach((field) -> field.set(result, field.get(source)));  