You need to copy the Data2 array to the beginning of the Data array without losing the initial data in Data. I try this code:
byte[] Data //Первый массив byte[] Data2 //Первый массив Array.Resize(ref Data, Data.Length + Data2.Length); Array.Copy(Data2, 0, Data, 0, Data2.Length); But at the output I get data from Data2 and zeros, all the bytes from Data did not "move" forward, but disappeared.
Data2.Length - Data.lengthinstead of 0) - nick_n_a