1. A system for removal of array copies by reusing the source array for the target array, comprising: a computing or virtual execution environment which includes one or more physical computers or similar computing devices; a virtual machine that includes a compiler and a memory space or heap for storage of compiled bytecode; and wherein the compiler performs an analysis of the bytecode wherever any array copy is found, and determines if the array copy can be replaced with an assignment, and if so modifies the generated machine code accordingly.