retval = (PRUnichar *) memcpy(retval, str.GetUnicode(), sizeof(PRUnichar)*len);
retval = (PRUnichar *) memcpy(retval, str.get(), sizeof(PRUnichar)*len);
static PRUnichar *copyUnicode(const nsString str) {  PRInt32   len =  str.Length()+1;  PRUnichar *retval = (PRUnichar *) PR_Calloc(len, sizeof(PRUnichar));  retval = (PRUnichar *) memcpy(retval, str.GetUnicode(), sizeof(PRUnichar)*len);  retval[len-1] = '\0';  return retval;}