Google Sheet Script - Copy selected lines in sheet A to last available line in sheet B

Job ID: 32948637

Budget: €8 – €30 EUR

Very simple project to create a Google Sheets Script:
In the "Selection" sheet, when click on an "Archive selected line " button,
=> In 'Selection' sheet, select the lines where the check box is ticked (ie. value of Selection Field = true)
=> Copy selection
=> Paste to the last available line in "Archive" sheet

- Please provide a clean and easy to read code including comments on each step of the script so the user may understand and reuse in another context
Related categories: JavaScript Google Sheets Google Docs