param: use a single copy_service function in lib/param