This post includes a short snippet to copy your entire Raspberry Pi filesystem to Windows using Rsync.