FR 2724 then DY 3704 at Copenhagen
Krakow → Copenhagen → Madrid
Timetable, Copenhagen time
15:50FR 2724 from Krakow at the gate
08:20DY 3704 to Madrid leaves the gate
16 h 30 apart on the timetable, overnight
DY 3704 leaves 16 h 30 after FR 2724 arrives on the timetable: more than half a day, so not a connection we count.