RESHAPE is a general intrinsic function which delivers an array of a specific shape:
RESHAPE(SOURCE, SHAPE)
For example,
A = RESHAPE((/1,2,3,4/),(/2,2/))
A is filled in array element order and looks like:
1 3 2 4
Visualisation,
For more information, click here