Can I copy the projects api directory into another strapi project?

Did u move your database also?
did u set the permissions for api endpoints?