code: void setPoint(int index, Point p) {
          if (index >= pointCount) {
              throw new IndexOutOfBoundsException();
          }
          p.copyTo(points[index]);
      }
docs: Replaces the touch point data at the given index with the given touch
  point data
  
  @param index the index at which to change the touch point data
  @param p the data to copy to the given index.