   [.net] how to copy one unmanaged buffer to another?
  Is there a framework method to copy an unmanaged buffer created with Marshal.AllocHGlobal() to another unmanaged buffer without copying twice using Marshal.Copy()?  It seems that the designers of Marshal left that method out!  I've been looking pretty intensely at the InteropServices documentation and so far I haven't been able to find it.Is the correct solution to P/Invoke CopyMemory?Thanks!   
  It is as corect as any solution that invokes an unmanaged function on an unmanaged resource, so my opinion is : if it's faster than a managed alternative and stable, use it!