public static <S, T> T copyProperties(S source, T target, boolean ignoreNull) {
        if (source == null) {
            return target;
        }
        if (ignoreNull) {
            copyProperties(source, target, getNullPropertyNames(source));
        } else {
            copyProperties(source, target);
        }

        return target;
    }
Copy the content of the source instance to the target instance

@param source source data content
@param target target data
@param ignoreNull Whether to ignore null values
@param <S> source type
@param <T> target type
@apiNote If ignoreNull = false, non-null attributes in the target instance may be overwritten
inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/util/CommonBeanUtils.java