FR 3077 then DY 3659 at Barcelona
Stockholm → Barcelona → Copenhagen
Timetable, Barcelona time
20:00FR 3077 from Stockholm at the gate
14:45DY 3659 to Copenhagen leaves the gate
18 h 45 apart on the timetable, overnight
DY 3659 leaves 18 h 45 after FR 3077 arrives on the timetable: more than half a day, so not a connection we count.