<p>Is there a library method to copy all the properties between two (already present) instances of the same class, in Python?</p>

<p>I mean, something like Apache Commons' <code>PropertyUtilsBean.copyProperties()</code></p>

If your class does not modify
```
__getitem__
```
or
```
__setitem__
```
for special attribute access all your attributes are stored in
```
__dict__
```
so you can do:
```
```
nobj.__dict__ = oobj.__dict__.copy()    # just a shallow copy
```
```
If you use python properties you should look at
```
inspect.getmembers()
```
and filter out the ones you want to copy.