FR 3760 then FR 9749 at Copenhagen
Edinburgh → Copenhagen → Warsaw Modlin
Timetable, Copenhagen time
16:05FR 3760 from Edinburgh at the gate
15:45FR 9749 to Warsaw Modlin leaves the gate
23 h 40 apart on the timetable, overnight
FR 9749 leaves 23 h 40 after FR 3760 arrives on the timetable: more than half a day, so not a connection we count.