code: public static void reproject( CoordinateReferenceSystem from, CoordinateReferenceSystem to, Coordinate[] coordinates )
              throws Exception {
          MathTransform mathTransform = CRS.findMathTransform(from, to);
  
          for( int i = 0; i < coordinates.length; i++ ) {
              coordinates[i] = JTS.transform(coordinates[i], coordinates[i], mathTransform);
          }
      }
docs: Reproject a set of coordinates.
  
  @param from        the starting crs
  @param to          the destination crs
  @param coordinates the array of coordinates, wrapped into an Object array
  
  @throws Exception