Advanced File Search App

Anyone know of any good applications that can search a folder structure for a word or a word in a file and then copy the results(files) to a new directory? Also maybe it would rename duplicate files. The program doesn't have to be free. Help me.