namespace Tiger.Utils; public static class ByteUtils { public static byte[] CopyArray(byte[] source, int sourceIndex, int amountBytes) { var destination = new byte[amountBytes]; Array.Copy(source, sourceIndex, destination, 0, amountBytes); return destination; } }