Running a Development Copy of WordPress?

You can open your database in a text editor and make a search and replace in the database. You have to change developmentsite.com for localsite.com. This method usually gives problems with theme options and widgets settings. To avoid these problems you can use the plugin http://wordpress.org/extend/plugins/duplicator/. This has given me excellent results.