Changing the line to
(cd "$ca_path" && find . -print0 | cpio -0pdL "$dest_dir")
seems to do the trick.
Changing the line to
(cd "$ca_path" && find . -print0 | cpio -0pdL "$dest_dir")
seems to do the trick.