Major and minor keys that share the same key signature are said to be relative.
For example:
- C major and A minor
- A flat major and F minor
- E major and C sharp minor
The intervals between them are always the same - and I recommend getting the hang of which keys are related!