Best way to combine data without duplicates?

I have a mess of old hdd's including a raid 1 that I want to turn into a raid 5 plus other backup drives I used after the raid machine mobo died. What is the best way to combine all of the data on ~ 4-5 drives without duplicating files?

It's a mess of old machines that I'm trying to clean up...