Re: Implementing Memcpy in C#

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



> memcpy(Info.WriteRegInfo.RegVals[2], &Info.UserPassedInfo.data[2],
> Info.WriteRegInfo.ByteCount );
>

simply Info.UserPassedInfo.Data[2] = Info.WriteRegInfo.RegVals[2]
should do the trick in C#, I believe
(assuming Info.UserPassedInfo.Data is an array of the same type as
RegVals[2])



.