I am trying to move a WordPress installation from one server to another one, including all of the SQL data, and the file-system data (photos,template files).
There is indeed a REPLACE() function in MySQL, but I would recommend doing what hsatterwhite suggests and editing the whole MySQL dump as a flat file before re-importing, not least because the REPLACE() function is case sensitive.