Meta won a major copyright case as a federal judge ruled its use of authors' books to train AI models…