Do you want to do this from the command prompt?
If you just want to do this, I'd suggest a real easy method of opening a search on the Desktop\Java\lib\ folder and then searching for the files you want to move. Once the results have returned cut and paste those into the Desktop\Folder\
For example if you wanted all files do a search for *.* in the lib folder and cut all files found.
If you need to do it from MS-DOS then you'd need to either right a batch file that does the move command or manually type the move command to move files from each directory that you want.
Additional information on the move command at:
http://www.computerhope.com/movehlp.htm