How to transfer the data to a new device