Cosy is the British English spelling.
Cozy is the American English spelling.
So, the spelling you choose depends on which version of English you are using.
Cosy is the British English spelling.
Cozy is the American English spelling.
So, the spelling you choose depends on which version of English you are using.