SK 2774 then EC 5262 at Copenhagen
Porto → Copenhagen → Berlin
Timetable, Copenhagen time
21:55SK 2774 from Porto at the gate
21:05EC 5262 to Berlin leaves the gate
23 h 10 apart on the timetable, overnight
EC 5262 leaves 23 h 10 after SK 2774 arrives on the timetable: more than half a day, so not a connection we count.