A technology designed to detect copyright material could give YouTube a needed dose of legal legitimacy and calm any concerns Google Inc. has about spending $1.65 billion on the Internet video site. But that same technology could hurt YouTube's edgy appeal.