code: public void write(byte[] bytes) throws IOException {
          for (int i = 0; i < bytes.length; i++) {
              write(bytes[i]);
          }
      }
docs: Writes the given bytes to the destination
  
  @param bytes
  @throws IOException