How do I transfer all content from one My Cloud EX2 Ultra to another?

Thank you. This is what I ended up doing but now I am facing another, bigger problem which is in this thread - Seems to be missing files after transfer from old NAS