Doesn't the much loved duplicator plugin do this also?

http://wordpress.org/plugins/duplicator/