Probabilistic Analysis of Copyright Disputes and Generative AI Safety