Question: how to transfer data from a broken 3ds to a new one?
Answer: To transfer them you would need to be able to do a system transfer and for that you need both systems working. You will need to give Nintendo a call at 1-800-255-3700 and ask them to unlink your NNID from your damaged console so that you may link it to your new system.