Completed GPU ToArray operator