Third seed Nicolas Almagro progressed to the quarter-finals of the Stockholm Open with a 6-4 7-6 (7-4) victory over Romanian qualifier Marius Copil.