Update array.c

Updated changes for Ubuntu Touch