unsigned char *copy = NULL;  if (len <= spaceLen) { copy = space; } else { copy = (unsigned char *) PORT_Alloc(len); }
unsigned char *copy = pkcs11_allocStaticData(len, space, spaceLen);
pkcs11_copyStaticData(unsigned char *data, int len, 					unsigned char *space, int spaceLen){    unsigned char *copy = NULL;    if (len <= spaceLen) {	copy = space;    } else {	copy = (unsigned char *) PORT_Alloc(len);    }    if (copy) {	PORT_Memcpy(copy,data,len);    }    return copy;}