You have to copy them to app/code folder. check registration.php to determine the folder name under app/code folder.
Then run
php bin/magento set:up --safe-mode=1
php -dmemory_limit=5G bin/magento setup:di:compile
php -dmemory_limit=20G bin/magento setup:static-content:deploy -f
php...