V2/Cet/IO/Cet.IO/ByteArray/ByteArrayHelpers.Convert.NETMF.cs
/// <summary>
/// Create a copy of the given byte array
/// </summary>
/// <param name="source">The source byte-array</param>
/// <returns>The resulting copy</returns>
Create a copy of the given byte array
Create a copy of the given byte array
public static byte[] ArrayCopy(byte[] source)
        {
            int count = source.Length;
            var target = new byte[count];
            Array.Copy(
                source,
                target,
                count);
            return target;
        }
public static byte [ ] ArrayCopy ( byte [ ] source ) { int count = source . Length ; var target = new byte [ count ] ; Array . Copy ( source , target , count ) ; return target ; }
Create a copy of the given byte array
Create a copy of the given byte array
The resulting copy
The resulting copy
source
byte[]
The source byte-array
The source byte - array