should be possible, but not as you wrote.
Would sth. like this be enough:

var Str_Array[32]; //string array
//..
Create_Str_Array(Str_array,32);
str_cpy(Str_Array[0],"Hallo");
str_cpy(str,Str_Array[0]);
Remove_Str_Array(Str_Array);

would be possible, if you want to have sth. like this
Tough for this you don't really need a DLL You only need A6.4
But if needed, i can write sth. like this also in cscript.