Full order here: https://storage.courtlistener.com/recap/gov.uscourts.cand.43...
The headline misses the nuance that there will be a trial on Anthropic's gathering "pirated copies to create Anthropic's central library and the resulting damages." But the court got it right IMO that "the use of the [copyrighted] books at issue to train Claude and its precursors was exceedingly transformative and was a fair use..."