function indexed( x, index, value, out, stride, offset ) {
	var io;
	var i;

	io = offset;
	for ( i = 0; i < x.length; i++ ) {
		out[ io ] = x[ i ];
		io += stride;
	}
	out[ offset+(index*stride) ] = value;
	return out;
}
Copies elements from one array to another array and sets the element at the specified index to a provided value.

@private
@param {Collection} x - input array
@param {integer} index - element index
@param {*} value - replacement value
@param {Collection} out - output array
@param {integer} stride - output array stride
@param {NonNegativeInteger} offset - output array offset
@returns {Collection} output array

@example
var x = [ 1, 2, 3, 4 ];

var out = [ 0, 0, 0, 0 ];
var arr = indexed( x, 0, 5, out, 1, 0 );
// returns [ 5, 2, 3, 4 ]

var bool = ( arr === out );
// returns true