nsCRT::memcpy( pList, m_pList, sizeof( ImportModuleDesc *) * m_alloc);
memcpy( pList, m_pList, sizeof( ImportModuleDesc *) * m_alloc);
void nsImportModuleList::AddModule( const nsCID& cid, const char *pSupports, const PRUnichar *pName, const PRUnichar *pDesc){	if (m_pList == nsnull) {		m_alloc = 10;		m_pList = new ImportModuleDesc *[m_alloc];		m_count = 0;		nsCRT::memset( m_pList, 0, sizeof( ImportModuleDesc *) * m_alloc);	}		if (m_count == m_alloc) {		ImportModuleDesc **pList = new ImportModuleDesc *[m_alloc + 10];		nsCRT::memset( &(pList[m_alloc]), 0, sizeof( ImportModuleDesc *) * 10);		nsCRT::memcpy( pList, m_pList, sizeof( ImportModuleDesc *) * m_alloc);		delete [] m_pList;		m_pList = pList;		m_alloc += 10;	}		m_pList[m_count] = new ImportModuleDesc();	m_pList[m_count]->SetCID( cid);	m_pList[m_count]->SetSupports( pSupports);	m_pList[m_count]->SetName( pName);	m_pList[m_count]->SetDescription( pDesc);		m_count++;#ifdef IMPORT_DEBUG	nsCString 	name; name.AssignWithConversion( pName);	nsCString	desc; desc.AssignWithConversion( pDesc);	IMPORT_LOG3( "* nsImportService registered import module: %s, %s, %s\n", name.get(), desc.get(), pSupports);#endif}