private static boolean areArraysLooselyEqual(Object[] values1, Object[] values2) {
        int values1Length = values1.length;
        if (values1Length != values2.length) {
            return false;
        }
        for (int i = 0; i < values1Length; i++) {
            if (!areTwoObjectsLooselyEqual(values1[i], values2[i])) {
                return false;
            }
        }
        return true;
    }
Note that the method only checks the immutable classes used by Turms.
turms-server-common/src/main/java/im/turms/server/common/infra/collection/CollectionUtil.java