MediaWiki sites can be duplicated in a number of ways. One good way, when access to the local server is available is the use of the dumpBackup.php script. Dumps can then be imported using importDump.php. Both scrips are found in the mw maintenance/ dir.
See also: