Users will be able to copy music and ebooks between devices without breaking the law under the shake-up of copyright