When the code is runnable, a copy of that data is un-protected code. Unprotected code can be copied. This is a key challenge with any DRM solution. Other challenge is protection of sensitive info for example, private key. To handle such thing, trusted platform concept has arrived.
As Bruce Schneier said, trying to make digital files uncopyable is like trying to make water not wet.
DRM implicitly distrusts the user, and thus to work has to set the system the user owns against them and remove all other choice.
User Security is based on giving the user choice on how they protect themselves.
Appple iTunes uses FairPlay DRM technology. However, it allows producers to publish DRM free content as well.
https://softwareengineering.stackexchange.com/questions/46434/how-can-software-be-protected-from-piracy
https://www.schneier.com/essays/archives/2006/09/quickest_patch_ever.html
https://en.wikipedia.org/wiki/FairPlay