I guess you want to transfer the entire server with the existing libraries, metadata, ratings and all… not just your media?
The basic approach is fairly straightforward. I suppose the tricky part in your case is going to be accessing the server data directory on the WD My Cloud device.