SK 780 then SK 2773 at Copenhagen
Budapest → Copenhagen → Porto
Timetable, Copenhagen time
12:25SK 780 from Budapest at the gate
09:35SK 2773 to Porto leaves the gate
21 h 10 apart on the timetable, overnight
SK 2773 leaves 21 h 10 after SK 780 arrives on the timetable: more than half a day, so not a connection we count.