How AI and copyright would work