It needs to be a bit smaller than the inside of the copper pipe, say 10–12mm for a 15mm pipe ... the magnet moving close to the copper. The size of the magnet compared to the inside diameter ...