It's more "search and replace" than coding.
You would have to go through the code and adjust all URLs, paths, the table name, and the names of the permissions and admin group. Shouldn't be that hard to do, but you would have to make sure not to miss any occurences or you'd end up mixing things with the static pages plugin ...
bye, Dirk