No reason to waste time on doing it. There are already plenty of tools already available that will do a better job (explorer, zip, rar, 7zip, copy, etc). Just copy %APPDATA%\Codeblocks and you'll have everything you need. CB doesn't store users setting anywhere else.