Not sure what you want to do exactly, but in a manual fashion it would be just to make a copy of the files, take a dump of the database and search/replace urls/file paths(if necessary), reload modified sql file into new db, change new wp config to point to that db.