you can use JSON to represent your array, or any other object for that matter. Convert the array you have to a JSON string, then send the string to anywhere you want and on the receiving end recreate the array from the JSON string.
The code will look something like this
var data= JSON.stringify(MyObject);
Send(data);
MyObject = JSON.parse(data);
http://www.json.org/[
^]