The laws include holding tech firms responsible for material posted without proper copyright permission.
Many musicians and creators say the new rules will compensate artists fairly but others say it will destroy user-generated content.
348 politicians voted in favour of the Copyright Directive, 278 against.