QUESTION QUICKLY: how save an array to another array

Drogon:
there is nothing to be able to do something like

array2[a,b] = array1[x,y];

to do everything at once and one line
and that works?

In APL yes but not in C or C++ .