Private Declare Sub CopyMemory Lib "Kernel32.dll" Alias "RtlMoveMemory" (ByVal Destination As Long, ByVal Source As Long, ByVal Length As Integer)
Public Sub Test()
Dim a As Integer
Dim b As Integer
Dim c As Integer
a = 1
b = 2
c = 3
Dim arr(0 To 5) As Byte
CopyMemory VarPtr(arr(0)), VarPtr(b) - 2, 6&
End Sub