Canada clinched the top spot in its group at the CONCACAF Gold Cup by drawing 2-2 with Costa Rica on Friday. The result gave Canada seven points in Group A, after prior wins over Jamaica and El Salvador, and advanced to the quarterfinals. Costa Rica, which finished on four points, also reached the last eight after Jamaica beat El Salvador 1-0 later Friday. Costa Rica struck first through striker Andy Herron in the 22nd minute. Canada goalkeeper Greg Sutton sent a goal kick upfield, where Costa Rica's Armando Alonso headed it to an open Herron on the right wing. Herron dribbled unmarked to Canada's penalty area, where he flicked a shot past the onrushing Sutton. Canada responded with two goals in the next 4 minutes. Midfielder Patrice Bernier struck in the 23rd minute, receiving a Josh Simpson pass from the left and beating goalkeeper Ricardo Gonzalez with a shot from just outside the 6-yard box. Midfielder Marcel De Jong put Canada ahead in impressive style in the 27th. De Jong pounced on a loose ball, dribbled 5 yards and blasted a shot from 25 yards that went inside the left post. Costa Rica midfielder Walter Centeno equalized with a swerving free kick above a wall of defenders 7 minutes later. Costa Rica twice came close to a late winner. In the 75th, Celso Borges' shot was deflected wide. Eight minutes later, Walter Centeno's header sailed above the crossbar.