They still have the original engines and original transmission. Spare parts have been changed again and again, but for example the engine blocks have not.
I'd say they are the same locomotives. And I hope that when the remaining 30 new Dr19 locomotives arrive, about 30 or 40 more Dv12 locos will be transferred to UZ. Yeah, they are are old amd need a LOT of maintenance all the time, but in Ukraine maintenance costs peanuts. You can see it there in everything: they have their bags and shoes repaired much more than we here in Finland. And they have local shops in the villages. And they play non-electric pianos because tuning them every now and then costs so much less than buying an electric piano. Those locomotives will have several more decades of life in them if they get to live it in Ukraine.