AY 959 then DY 2063 at Copenhagen
Helsinki → Copenhagen → Riga
Timetable, Copenhagen time
16:30AY 959 from Helsinki at the gate
11:55DY 2063 to Riga leaves the gate
19 h 25 apart on the timetable, overnight
DY 2063 leaves 19 h 25 after AY 959 arrives on the timetable: more than half a day, so not a connection we count.