The training of AI models in the context of the EU Copyright law and the AI act