public static byte[] toUtf8Bytes(String str) {
        return str.getBytes(StandardCharsets.UTF_8);
    }
Returns a new byte array that is the concatenation of all input byte arrays in input order.

E.g. <code>concat("A", "BC", "DE", "F") => "ABCDEF"</code>
security-utils/src/main/java/com/yahoo/security/ArrayUtils.java