Try this 1
1) Click on the below link. You can find all the information.
2) You can follow the instructions given in "Download your email from Yahoo Mail into a third-party app".
3) If you are having an outlook then you can configure it to your Yahoo account using the IMAP settings. Then you can simply drag and drop you messages to your desktop / Folder from Outlook.