The HttpModule objects of HttpModuleCollection are:
Module0 : OutputCache
Module1 : Session
Module2 : WindowsAuthentication
Module3 : FormsAuthentication
Module4 : DefaultAuthentication
Module5 : RoleManager
Module6 : UrlAuthorization
Module7 : FileAuthorization
Module8 : AnonymousIdentification
Module9 : Profile
Module10 : UrlMappingsModule
Module11 : ServiceModel-4.0
Module12 : UrlRoutingModule-4.0
Module13 : ScriptModule-4.0


Successfully copied the HttpModule objects in the HttpModuleCollection to an array.
Displaying the HttpModule objects in the array:

Module0: System.Web.Caching.OutputCacheModule
Module1: System.Web.SessionState.SessionStateModule
Module2: System.Web.Security.WindowsAuthenticationModule
Module3: System.Web.Security.FormsAuthenticationModule
Module4: System.Web.Security.DefaultAuthenticationModule
Module5: System.Web.Security.RoleManagerModule
Module6: System.Web.Security.UrlAuthorizationModule
Module7: System.Web.Security.FileAuthorizationModule
Module8: System.Web.Security.AnonymousIdentificationModule
Module9: System.Web.Profile.ProfileModule
Module10: System.Web.UrlMappingsModule
Module11: System.ServiceModel.Activation.ServiceHttpModule
Module12: System.Web.Routing.UrlRoutingModule
Module13: System.Web.Handlers.ScriptModule