CopyBytesWithStride function and sample project added