In the simplest way - at least for my perspective :)
yyorYto yank the current line, including the newline character at the end of the linePto paste before the cursor, orpto paste after
More info https://vim.fandom.com/wiki/Copy,_cut_and_paste
uundo last changeCtrl-rredo changes which were undone (undo the undos)