code: public synchronized void reset(int[] intArray) throws IOException {
        _writer.flush();
        _writer.position(DATA_START_POSITION);
        for(int i = 0; i < intArray.length; i++) {
            _writer.writeInt(intArray[i]);
        }
        _writer.flush();
    }
docs: Resets this ArrayFile with the specified integer array.
  
  @param intArray - the integer array.
  @throws IOException