Question: how to transfer data from macbook to pendrive?
Answer: Insert the flash drive into an open port in the MacBook. (You may need an adapter if the MacBook only has USB-C ports). ... 
Drag any files you want to copy to the flash drive to the drive's icon.