Merge "Fix copyFrom() to use proper dimensions for copying."