Script for bringing Communications from Leads to Companies

Is there a known script that could be used to transfer Communications or Notes from a Lead to a Company when the lead gets "Added or Found" to a company? Currently, if you communicate with a lead, or add notes to a lead, once that is either matched to the main database (i.e. Company via "Add or Find a Company") or converted to an opportunity, the communications and notes stay with the lead, and don't transfer to the "main database". Does anyone know of a script that would make this happen?