Arduino IDE duplicates libraries during update

Hello!

I just got a duplicated library warning during my sketch compilation and discovered that the Arduino IDE created the copies of updated built-in libraries which are located in "C:/arduino/libraries/" folder at a sketch "../libraries/" folder.
Is it a correct behavior? I think that the libraries shall stay and to be updated in the folders where they were placed :confused:

Yes that's the normal behavior. The Arduino IDE doesn't ever write to the installation folder unless you have it set to portable mode, and then only to the portable folder. The warning is just some helpful information. Unless it shows the wrong library is being chosen you should not worry about it.