I had tried to make batch script that copies all *.tif files located in D:\\images(random named subfolders here) to d:\\all.
xcopy D:\\Downloads\\*.TIF D:\\temp\
You can also use the XXCOPY freeware. Works like XCOPY, but when you use a /SG parameter, it flattens the sub-directories. See how to use it here.