Former Mainz and Middlesborough attacking midfielder Viktor Fischer scored the first goal of the game, his flick on the end of Ankersen's strike taking it past Moya.
The goal began with a fast break down the left from Boilesen, who crossed in, missing everyone but Ankersen.
It was not the start the Spanish giants were expecting, against a Kobenhavn side that ended their league campaign in November, and who failed to top their Europa League group.
February 15, 2018