nsCRT::memcpy(buffer, mAttrNames, sizeof(nsIAtom*) * mAttrCount);
memcpy(buffer, mAttrNames, sizeof(nsIAtom*) * mAttrCount);
HTMLAttributesImpl::SetAttributeName(nsIAtom* aAttrName, PRBool& aFound){  PRInt32 index = mAttrCount;  while (0 < index--) {    if (mAttrNames[index] == aAttrName) {      aFound = PR_TRUE;      return NS_OK;    }  }  aFound = PR_FALSE;  if (mAttrCount == mAttrSize) {  // no more room, grow buffer    nsIAtom** buffer = new nsIAtom*[mAttrSize + 4];     if (buffer) {      nsCRT::memcpy(buffer, mAttrNames, sizeof(nsIAtom*) * mAttrCount);      mAttrSize += 4;      if (mAttrNames != mNameBuffer) {        delete [] mAttrNames;      }      mAttrNames = buffer;    }    else {      return NS_ERROR_OUT_OF_MEMORY;    }  }  mAttrNames[mAttrCount++] = aAttrName;  NS_ADDREF(aAttrName);  return NS_OK;}