Ferret is a copy-detection tool, locating duplicate text or code in  multiple text documents or source files.