FR 2724 then FR 8804 at Copenhagen
Krakow → Copenhagen → Warsaw Modlin
Timetable, Copenhagen time
21:45FR 2724 from Krakow at the gate
13:20FR 8804 to Warsaw Modlin leaves the gate
15 h 35 apart on the timetable, overnight
FR 8804 leaves 15 h 35 after FR 2724 arrives on the timetable: more than half a day, so not a connection we count.