I have not tried this, but there is a suggestion here
that ChatGPT can reproduce material from a copyrighted book.
Books were definitely included in their information intake, but I wonder how far they went. I bet they did not access older books that are only available in libraries or collections. If that is so, their information is biased toward modern material.
There was a Google project many years ago to photocopy every book and make them freely available online. They were stopped by copyright laws. It never happened. The world still has very poor access to its older literary material.
To what extent has AI changed this, if at all.?