Ed Sheeran described as music 'magpie' as he defends copyright infringement claim