seems there is no "-a" parameter to "cp" in non-gnu "cp". Use "-p" instead.
drwxr-xr-x - configs
drwxr-xr-x - doc
drwxr-xr-x - src
drwxr-xr-x - test