remove redundant code (see bin/copy-rom)