args = {...}

local fh = http.get(args[1])
local data = fh.readAll()
fh.close()
local fh = io.open(args[2], "w")
fh:write(data)
fh:close()
