function copy( len, workspace ) {
	// NOTE: the following properties must be set in the exact same order as in the input ndarray-like object in order to ensure that the returned object has the same hidden shape...
	var view = {
		'dtype': workspace.dtype,
		'data': workspace.data,
		'shape': [ len ],
		'strides': [ 1 ],
		'offset': workspace.offset,
		'order': workspace.order
	};
	return reshape;

	/**
	* Copies an input ndarray to a contiguous ndarray workspace and returns a one-dimensional workspace view.
	*
	* @private
	* @param {ndarrayLike} x - input ndarray
	* @returns {ndarrayLike} one-dimensional workspace view
	*/
	function reshape( x ) {
		assign( [ x, workspace ] );
		return view;
	}
}
Returns a function which copies an input ndarray to a contiguous ndarray workspace.

@private
@param {NonNegativeInteger} len - number of elements in an ndarray
@param {ndarrayLike} workspace - ndarray workspace
@returns {Function} function which copies an input ndarray to a contiguous ndarray workspace