How it works
The example acts on a single data cell in column E containing the exact text "Done". It skips the header, multi-cell pastes and edits to the archive itself.
It reads the full row with getRange(row, 1, 1, getLastColumn()), appends it to the Done sheet, then deletes the source row. These are separate operations, not an atomic move: a failure between them can leave a duplicate. Concurrent edits can also move row positions; this minimal example needs coordination and recovery before unattended use.
A bound simple onEdit trigger can modify its own spreadsheet. Installable triggers are needed for services that require additional authorization; moving between tabs of this same spreadsheet does not by itself require one.