Valtteri Filppula had two goals and two assists for Finland, as the reigning gold medalist cruised past Kazakhstan, 4-1, on Monday at the 2012 World Championship.
Jussi Jokinen and Mikko Maenpaa also lit the lamp for Finland, which finished preliminary-round play with five wins and two defeats. With 15 points, Finland sits second in Group H and trails Canada by just one point.
Petri Vehanen made 17 saves for the victors.
Konstantin Pushkaryov scored the lone goal for Kazakhstan. Vitali Kolesnik stopped 44-of-48 shots.
For Kazakhstan, the tournament is over. Finland will now get ready for the quarterfinals.
Also in Helsinki, Johann Auvitu scored with 1:17 remaining to give France a 2-1 win over Belarus.
France now has nine points and can qualify for the quarterfinals if they beat Slovakia in regulation time on Tuesday.
In Stockholm, Mikhail Biryukov made 21 saves to lead Russia to a 4-0 win over Italy.
Yevgeni Kuznetsov had a goal and an assist for the Russians, who won all seven of their preliminary-round games to finish first in Group S. Pavel Datsyuk, Yevgeni Biryukov and Alexander Popov also scored.
Russia will face either Norway or the Czech Republic in the quarters.
Morten Green and Morten Madsen scored second-period goals to lift Denmark over Latvia, 2-0. Frederik Andersen made 35 saves.
Norway qualified for the quarterfinals due to the result.