public unsafe static void SmoothCopy(byte[] source, byte[] destination, int sourceLength, float scale, int offset) { fixed(byte *srcPtr = source) { fixed(byte *dstPtr = destination) { Fourier.SmoothCopy(srcPtr, dstPtr, sourceLength, destination.Length, scale, offset); } } }