What is the best way to move the content of an enumerable objects to an array of objects? See code below
<pre><code>public object[] GetByteCodes(IEnumerable&lt;byte&gt; enumerableByteCodes)
{

     object[] objects = new object[enumerableByteCodes.Count()];

     //What the next step here?...

     return objects;
}
</code></pre>
