t6036: avoid non-portable "cp -a"