Transfer from Maroc to Spain

Guys, I have a lot of problems understanding how to transfer my savings in Casablanca in dirhams to my account in Spain in Euroa. As I suppose some of you are into this situation  can you please let me know how you manage it?

thanks in advance

Are you Moroccan.  Are you emigrating to Spain
Is movement allowed currently