The examiners know you won’t be able to know all the quotes word for word so they won’t take marks off for small errors. In fact it might be easier to remember key words rather than a whole quote so for example
Instead of writing ‘Lady macbeth tells macbeth to ‘appear like th’innocent flower but be the serpent under’t’
You could just as easily write ‘Lady Macbeth tells Macbeth to appear like an ‘innocent flower’ but to really be and act like a ‘serpent’ ...’