Attempts to cast Object o to class c. Returns o if successful, null if not.
Given a pointer: If it is an Object, return that Object. If it is an interface, return the Object implementing the interface. If it is null, return null. Else, undefined crash
Implementation of array assignment support routines.