After you've copied wordpress folder/files to your localhost directory, create the wordpress database like you normally would and once you've done that, follow these steps carefully:
###Step 1: CREATE SITE ALIAS
If you're not using MAMP Pro or any fancy webserver, you'll have to create