A Generalized Synchronization Theorem for an Array of Differential Equations with Application to Secure Communication