copy the required libs