Not that we will have duplicates, but changing the order. Moving the copy before the findDependencies might optimize in few cases. Just a suggestion.