It's technically illegal in most jurisdictions, but ignored if you're doing it for personal use - i.e. you're not burning 1000 copies, selling to your friends, or re-sharing on the network. The UK passed a law in 2018 that sort of decriminalised copying DVDs, but bypassing any DRM or TPM (technical protection measures) is still technically illegal. As far as I can tell.