The upload Files Copyright

I would know how affect the uploading of files using API OpenAI in copyrighted files? do you store these files (How long?), do you publish them?