You can use the CopyMemory api...
Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" _
(ByRef lpvDest As Any, ByRef lpvSource As Any, _
ByVal cbCopy As Long)
example...
Dim bytLongs(0 to 3) '4 bytes only for 1 long, increase as needed
Dim lngPointer as Long
Dim lngNumber as Long
lngPointer = 0
lngNumber = 4563
CopyMemory(bytLongs(lngPointer), lngNumber, 4)
'increment lngPointer by 4 before copying next long value to byte array