Multiple definition error or how to use a copy of a library

I have a problem with the Arduino Wire library. I’d like to modify it for one specific project, but not the one in C:\Arduino.IDE\hardware\arduino\avr\libraries\Wire, because this library is of course used by a variety of different other projects and it may be updated with the Arduino IDE.

I’d like to use a copy of the library in my project folder.
But when the library files are copied in the project folder, the compiler complains

Arduino: 1.6.7 (Windows 7), Board: “Arduino/Genuino Uno”
libraries\Wire\Wire.cpp.o: In function TwoWire::available()': C:\Users\...\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\libraries\Wire\src/Wire.cpp:237: multiple definition of TwoWire::available()’
sketch\Wire.cpp.o:sketch/Wire.cpp:237: first defined here

for every defined function. I want the compiler to just use the local version and ignore the one provided with the IDE.

Attachment: The perfectly fine running INO file.

I2C-Wire-Test-with-DAC-2.ino (656 Bytes)

Change the line

#include <Wire.h>


#include "Wire.h"

:o Oh dear - I should have known this.
Thanks for the fast reply - it works fine now.