code: void grow(int newSize) {
          // create new array
          PollArrayWrapper temp = new PollArrayWrapper(newSize);
  
          // Copy over existing entries
          for (int i=0; i<totalChannels; i++)
              replaceEntry(this, i, temp, i);
  
          // Swap new array into pollArray field
          pollArray.free();
          pollArray = temp.pollArray;
          pollArrayAddress = pollArray.address();
      }
docs: Grows the pollfd array to a size that will accommodate newSize
  pollfd entries. This method does no checking of the newSize
  to determine if it is in fact bigger than the old size: it
  always reallocates an array of the new size.