ArrayReshape
ArrayReshape[list,dims] arranges the elements of list into a rectangular array with dimensions dims.
ArrayReshape[list,dims,padding] uses the specified padding if list does not contain enough elements.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.