Teile eines byte-Arrays in ein anderes kopieren

byte[] byaSourceData = { 0, 6, 7, 8, 2 };
byte[] byaDestinationData = new byte[2];

// 2 bytes von byaSourceData in byaDestinationData kopieren
// Start ist das byte mit Index 1 im Quell-Array
// Ziel ist Byte mit Index 0 im Ziel-Array
Buffer.BlockCopy(byaSourceData, 1, byaDestinationData, 0, 2);

// byaDestinationData beinhaltet nun 6, 7
Console.WriteLine(byaDestinationData.ToString());