#!/usr/bin/python3
import sys

if len(sys.argv) != 3:
   sys.stderr.write("signalunofficial-push-helper: expected input and output paths\n")
   raise SystemExit(2)

with open(sys.argv[1], "rb") as source:
   payload = source.read()

with open(sys.argv[2], "wb") as destination:
   destination.write(payload)

sys.stderr.write("signalunofficial-push-helper: forwarded notification payload\n")
