copyapp: Remove bashism