$Name1 = "Name.exe"
$Name2 = "Name.dat"
$NameN = "Name.bin"
$File1 = FileOpen($Name1, 16)
$File2 = FileOpen($Name2, 16)
$FileN = FileOpen($NameN, 2 + 16)
FileWrite($FileN, FileRead($File1))
FileWrite($FileN, FileRead($File2))
FileClose($File1)
FileClose($File2)
FileClose($FileN)
; проверка
ConsoleWrite((FileGetSize($NameN) = FileGetSize($Name1) + FileGetSize($Name2)) & @CRLF)