added array_t copy constructor
added array_map() function