public static <S, T> T copyProperties(S source, Supplier<T> target) {
        T result = target.get();
        if (source == null) {
            return result;
        }
        copyProperties(source, result);
        return result;
    }
Copy the content of the source data to the object of the target type, and return the result

@param source source data content
@param target target type
@param <S> source type
@param <T> target type
@return the target type object after copying
inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/util/CommonBeanUtils.java