Transfer SD from RPI1 to RPI2

Is it possible to transfer an SD card from a Raspberry Pi 1 B+ to the Raspberry Pi 2? On Raspbian a

sudo apt-get update && sudo apt-get dist-upgrade

would allow you to transfer the card between hardware. Is this possible on OSMC?

Many thanks for hours you spend coding.

Unfortunately not. OSMC on Pi 2 uses upstream Jessie (ARMv7) binaries, but you can use the OSMC backup tool to transfer things over.