This may solve your problem...
I got so tired of trying to copy files by extensions with command line inputs that I wrote a tool to copy any file, from any location or from any nested folder structure to the location of my choice.
Here is what I did:
Copy-By-Extension | "Automatically & Easily Copy or Move Files" Regardless of Location or Folder Structure!