SK 2774 then SK 1679 at Copenhagen
Porto → Copenhagen → Berlin
Timetable, Copenhagen time
22:05SK 2774 from Porto at the gate
17:45SK 1679 to Berlin leaves the gate
19 h 40 apart on the timetable, overnight
SK 1679 leaves 19 h 40 after SK 2774 arrives on the timetable: more than half a day, so not a connection we count.