After some failures there is an easy way to copy a Raspberry Pi SDCard (with Homematic CCU running in a lxc container) from one SD Card /dev/sdb to another SC Card /dev/sdc:
mount (to see the mounted filesystems an their names)
umount /dev/sdb1
umount /dev/sdc1
sudo dd if=/dev/sdb of=/dev/sdc bs=4096 conv=notrunc,noerror