public static byte[] multiple(byte[] srcBytes, int multiNum) {
    if (multiNum <= 0) {
      return new byte[0];
    }
    byte[] result = new byte[srcBytes.length * multiNum];
    for (int i = 0; i < multiNum; i++) {
      System.arraycopy(srcBytes, 0, result, i * srcBytes.length, srcBytes.length);
    }
    return result;
  }
Create a byte array which is multiple given bytes
@return byte array
hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java