A lot of those duplicate files are linked to programs. One program may use the xyz.dll file, and another program may use another copy of that xyz.dll program in another directory. Deleting all the duplicate files, whatever their extension, can cause headaches.
Don't ask me how I know.
Which utility package will remove all those duplicate files that windows xp generates