Humans learn on copyrighted works as a matter of standard training. And certainly humans can memorize those works and replicate them – and we rely on the legal system to ensure that they don't monetize them.
The same will apply to neural nets. They can learn from others, but must make sufficiently distinct new works of art from what they've learned.