TradeMUX SDK Documentation  1.0
TradeMUX SDK Documentation
int ArrayCopy< T > ( TMXArray< T >  dest,
TMXArray< T >  source,
int  start_dest = 0,
int  start_source = 0,
int  count = WHOLE_ARRAY 
)

Copies an array into another one

Template Parameters
TArray content type
Parameters
destDestination array
sourceSource array
start_destStarting index from the destination array. By default, start index is 0
start_sourceStarting index for the source array. By default, start index is 0
countNumber of elements that should be copied. By default, the whole array is copied
Returns
Number of copied elements

If count <=0 or count>src_size-src_start, all the remaining array part is copied. Arrays are copied from left to right.
For series arrays, the starting position is correctly defined adjusted for copying from left to right. If an array is copied to itself,
the result is undefined.