I did not test but I'd do something like this:
create fs on the new sd like it is on the current one
copy everything via rsync or similar that keeps symlinks, permissions and such of all files.
Adjust
code {
font-family: Consolas,"courier new";
color: crimson;
background-color: rgba(0, 0, 0, 0.2);
padding: 2px;
font-size: 105%;
}
rootdev=UUID= in
code {
font-family: Consolas,"courier new";
color: crimson;
background-color: rgba(0, 0, 0, 0.2);
padding: 2px;
font-size: 105%;
}
/boot/armbianEnv.txt to match the UUID of the new sdcard.
???
Profit