def METHOD_NAME(self) -> None:
    if not self.args or self.args[0] == ">":
        return
    self.ddargs = {}
    for arg in self.args:
        if arg.find("=") == -1:
            self.write(f"unknown operand: {arg}")
            HoneyPotCommand.exit(self)
        operand, value = arg.split("=")
        if operand not in ("if", "bs", "of", "count"):
            self.write(f"unknown operand: {operand}")
            self.exit(success=False)
        self.ddargs[operand] = value
    if self.input_data:
        self.writeBytes(self.input_data)
    else:
        bSuccess = True
        c = -1
        block = 512
        if "if" in self.ddargs:
            iname = self.ddargs["if"]
            pname = self.fs.resolve_path(iname, self.protocol.cwd)
            if self.fs.isdir(pname):
                self.errorWrite(f"dd: {iname}: Is a directory\n")
                bSuccess = False
            if bSuccess:
                if "bs" in self.ddargs:
                    block = parse_size(self.ddargs["bs"])
                    if block <= 0:
                        self.errorWrite(f"dd: invalid number '{block}'\n")
                        bSuccess = False
            if bSuccess:
                if "count" in self.ddargs:
                    c = int(self.ddargs["count"])
                    if c < 0:
                        self.errorWrite(f"dd: invalid number '{c}'\n")
                        bSuccess = False
            if bSuccess:
                try:
                    contents = self.fs.file_contents(pname)
                    if c == -1:
                        self.writeBytes(contents)
                    else:
                        tsize = block * c
                        data = contents
                        if len(data) > tsize:
                            self.writeBytes(data[:tsize])
                        else:
                            self.writeBytes(data)
                except FileNotFound:
                    self.errorWrite(f"dd: {iname}: No such file or directory\n")
                    bSuccess = False
            self.exit(success=bSuccess)