From what I've read on these forums over the years these programs can cause problems and even delete all the duplicates including the originals. You can Google for such but I would recommend to do it manually. Start with duplicated folder first but make sure you don't mess it up. Not an easy task if they've not been labelled correctly.
Galaxy Note 8 vs iPhone X