Adds copy function and resize from a DynamicalSystem.