Dylan Hartley lifts the Cook Cup