function shape( x, copy ) {
	var sh = x.shape;
	if ( copy ) {
		return copyIndexed( sh );
	}
	return sh;
}
Returns the shape of a provided ndarray.

@param {ndarrayLike} x - input ndarray
@param {boolean} copy - boolean indicating whether to explicitly copy the value assigned to the input ndarray's `shape` property
@returns {NonNegativeIntegerArray} shape

@example
var zeros = require( '@stdlib/ndarray/zeros' );

var out = shape( zeros( [ 3, 3, 3 ] ), false );
// returns [ 3, 3, 3 ]