I have followed the solution given in this thread, copying data is successful but I'm getting the folder names as block blobs which are extra files to the destination storage account:
Source Storage container data:
After copying, target storage container containing the extra block blob files as shown below:
Why those extra files are creating and any mistake in the solution I followed:
Step 1: Get Metadata activity
Copy Activity inside for each activity:
Thank you, @Jashua Criss, posting our discussion as the answer for the community.
To achieve your requirement, you need to make sure both source and target storage accounts are same which either ADLS2 or GPv2. Also, the use ADLS gen2 linked services for both source and target.
Results in one container: