FR 80 then SK 915 at Copenhagen
Budapest → Copenhagen → New York JFK
Timetable, Copenhagen time
13:50FR 80 from Budapest at the gate
12:55SK 915 to New York JFK leaves the gate
23 h 05 apart on the timetable, overnight
SK 915 leaves 23 h 05 after FR 80 arrives on the timetable: more than half a day, so not a connection we count.