AC 828 then FR 81 at Copenhagen
Toronto → Copenhagen → Budapest
Timetable, Copenhagen time
10:20AC 828 from Toronto at the gate
06:35FR 81 to Budapest leaves the gate
20 h 15 apart on the timetable, overnight
FR 81 leaves 20 h 15 after AC 828 arrives on the timetable: more than half a day, so not a connection we count.