You need to use adb. Here is the documentation page .
And these are specific commands (copy pasted from previous link)
To copy a file or directory (recursively) from an emulator or device, use
adb pull <remote> <local>
To copy a file or directory (recursively) to an emulator or device, use
adb push <local> <remote>
source share