docs: public static byte[] copy(byte[] array, int from, int to) {
          if(to - from < 0) {
              return new byte[0];
          } else {
              byte[] a = new byte[to - from];
              System.arraycopy(array, from, a, 0, to - from);
              return a;
          }
      }