cp -p $AXA_BA_ENVPATH/$1/$f $AXA_BA_ENVPATH/$2 -p stands for
Copy and print the contents
Preserve the characteristics of the source_file. Copy the contents, modification times, and permission modes of the source_file to the destination files.
The -p option in the cp command preserves the source file's original attributes, including modification times, access times, file permissions, and ownership, instead of using default settings.