code: public byte[] getDump() throws IOException {
          byte[] dump = new byte[(int) getSize()];
          try (RandomAccessFile raf = new RandomAccessFile(file, "r")) {
              raf.seek(offset);
              raf.readFully(dump);
          }
          return dump;
      }
docs: Loads all bytes of the overlay into an array and returns them.
  
  @return array containing the overlay bytes
  @throws IOException